package com.sanyu.pojo.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class RepairType implements Serializable {
    //维修项目ID
    private int id;
    //维修项目名称
    private int name;
    //维修方法
    private String solution;
    //材料费
    private BigDecimal materialCost;
    //现场检修费用
    private BigDecimal repairCost;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //创建人ID
    private Long createUser;
    //最后修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //最后修改人ID;
    private Long updateUser;
}
